<script setup lang="ts">
import Header from "./components/Header.vue";
import {useRouter} from 'vue-router'
const router = useRouter()
</script>

<template>
    <div class="header">
        <Header/>
    </div>
    <div class="main">
        <RouterView/>
    </div>
</template>

<style scoped>
body{
    margin: 0;
    padding: 0;
}
.header{
    position: relative;
    padding-bottom: 40px;
}
.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, lightgray, white);
}
.main{
    width: 80%;
    margin: 0 auto;
}
</style>
